package com.drive.service;

import com.drive.bean.Student;
import com.drive.entity.PageResult;

import java.util.List;

/**
 * @author 往
 * 学员管理接口
 */
public interface StudentService {
    public void add(Student student);
    public PageResult pageQuery(Integer currentPage,Integer pageSize,String queryString);

    void delete(Integer id);

    Student findById(Integer id);

    void edit(Student student);

    List<Student> findAll();
}
